package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.domain.BankAccount;
import com.jzo2o.customer.model.dto.request.BankAccountUpsertReqDTO;
import com.jzo2o.customer.model.dto.response.BankAccountResDTO;

/**
 * <p>
 * 银行账户 服务类
 * </p>
 *
 * @author whx
 * @since 2024-12-02
 */
public interface IBankAccountService extends IService<BankAccount> {

    /**
     * 新增或更新银行账户信息
     * @param dto
     */
    void updateOrInsert(BankAccountUpsertReqDTO dto);

    /**
     * 获取当前用户银行账户
     */
    BankAccountResDTO currentUserBankAccount();
}
